<?
if(!ANTIHACK) die("ANTIHACK...");
global $baselink;
if($_GET["code"]!="")
{
	$code=$_GET["code"];
	$q=query("select * from baithi where code=$code");
	$r=fetch($q);
	$arr=explode("\n",$r["oimages"]);
	$r["oimages"]=$arr;
	$r["vote"]=$r["vote"]+$r["vote1"];
	}
$smarty->assign("data",$r);
$smarty->display("oscar.htm");
?>